package com.ruoyix.flowable.service;

import com.ruoyix.flowable.domain.vo.BpmProcessDefinitionVo;
import com.ruoyix.flowable.domain.bo.BpmProcessDefinitionBo;
import com.ruoyix.common.core.page.TableDataInfo;
import com.ruoyix.common.core.domain.PageQuery;

/**
 * 流程定义Service接口
 *
 * @author ruoyi
 * @date 2023-11-23
 */
public interface IBpmProcessDefinitionService {

    /**
     * 查询流程定义
     */
    BpmProcessDefinitionVo queryById(String id);

    /**
     * 查询流程定义列表
     */
    TableDataInfo<BpmProcessDefinitionVo> queryPageList(BpmProcessDefinitionBo bo, PageQuery pageQuery);


    /**
     * 删除流程定义列表
     */
    boolean deleteWithValidByIds(String id);
}
